package edu.sctu.practice.class02.luohui.test08;

/**
 * Created by asus on 2015/10/14.
 */
public class Vehicles {
    String brand,color;
    public Vehicles(String brand, String color) {
        this.brand = brand;
        this.color = color;
    }
    public void run(){
        System.out.println("我应经开动了");
    }
    public void showInfo(){
        System.out.println("商标是： "  +  brand);
        System.out.println("颜色是： "  +  color);
    }

    }

